package com.barudisshu.service;

import com.barudisshu.domain.Storage;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface StorageService {

    List<String> saveUploadedFiles(List<MultipartFile> multipartFiles) throws IOException;
    ResponseEntity<?> download(String filename, Integer width, Integer height) throws Exception;
    Storage findByFilename(String filename);
}
